package it.com.cci.strategy_pattern;

/**
 * @author Lefnmg
 * @Description:
 * @date 2018/3/24
 */
public class ModelDuck extends Duck {
    public ModelDuck() {
        flyBehavior = new FlyNoWay();
        quackBehavior = new MuteQuack(); //
    }

    @Override
    public void display() {
        System.out.println(" 模型鸭子");
    }
}
